package com.course.model;
import java.util.ArrayList;
import java.util.List;
public class TeacherInfoExample {
    protected String orderByClause;
    protected boolean distinct;
    protected int startRow;
    protected int pageRows;
    protected List<Criteria> oredCriteria;
    public TeacherInfoExample() {
        oredCriteria = new ArrayList<>();
    }
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
    public boolean isDistinct() {
        return distinct;
    }
    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }
    public int getStartRow() {
        return startRow;
    }
    public void setPageRows(int pageRows) {
        this.pageRows = pageRows;
    }
    public int getPageRows() {
        return pageRows;
    }
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;
        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }
        public boolean isValid() {
            return criteria.size() > 0;
        }
        public List<Criterion> getAllCriteria() {
            return criteria;
        }
        public List<Criterion> getCriteria() {
            return criteria;
        }
        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }
        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }
        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
    public Criteria andIdIsNull() {
		 addCriterion("id is null");
		return (Criteria) this;
		}
  public Criteria andIdIsNotNull(){
		addCriterion("id is not null");
		return (Criteria) this;
		}
  public Criteria andIdEqualTo(Integer value) {
		  addCriterion("id =", value, "id");
		return (Criteria) this;
		}
   public Criteria andIdNotEqualTo(Integer value) {
		  addCriterion("id <>", value, "id");
		return (Criteria) this;
		}
    public Criteria andIdGreaterThan(Integer value) {
		 addCriterion("id >", value, "id");
		return (Criteria) this;
		}
  public Criteria andIdGreaterThanOrEqualTo(Integer value) {
		  addCriterion("id >=", value, "Id");
		return (Criteria) this;
		}
   public Criteria andIdLessThan(Integer value) {
		  addCriterion("id <", value, "id");
		return (Criteria) this;
		}
    public Criteria andIdLessThanOrEqualTo(Integer value) {
		  addCriterion("id <=", value, "id");
		return (Criteria) this;
		}
    public Criteria andIdIn(List<Integer> values) {
		  addCriterion("id in", values, "id");
		return (Criteria) this;
		}
    public Criteria andIdNotIn(List<Integer> values) {
		  addCriterion("id not in", values, "id");
		return (Criteria) this;
		}
     public Criteria andIdBetween(Integer value1, Integer value2) {
		   addCriterion("id between", value1, value2, "id");
		return (Criteria) this;
		}
     public Criteria andIdNotBetween(Integer value1, Integer value2) {
		   addCriterion("id not between", value1, value2, "id");
		return (Criteria) this;
		}
    public Criteria andIdLike(Integer value) {
		  addCriterion("id like", value, "id");
		return (Criteria) this;
		}
    public Criteria andIdNotLike(Integer value) {
		  addCriterion("id not like", value, "id");
		return (Criteria) this;
		}
 public Criteria andTnoIsNull() {
		 addCriterion("tno is null");
		return (Criteria) this;
		}
  public Criteria andTnoIsNotNull(){
		addCriterion("tno is not null");
		return (Criteria) this;
		}
  public Criteria andTnoEqualTo(String value) {
		  addCriterion("tno =", value, "tno");
		return (Criteria) this;
		}
   public Criteria andTnoNotEqualTo(String value) {
		  addCriterion("tno <>", value, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoGreaterThan(String value) {
		 addCriterion("tno >", value, "tno");
		return (Criteria) this;
		}
  public Criteria andTnoGreaterThanOrEqualTo(String value) {
		  addCriterion("tno >=", value, "Tno");
		return (Criteria) this;
		}
   public Criteria andTnoLessThan(String value) {
		  addCriterion("tno <", value, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoLessThanOrEqualTo(String value) {
		  addCriterion("tno <=", value, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoIn(List<String> values) {
		  addCriterion("tno in", values, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoNotIn(List<String> values) {
		  addCriterion("tno not in", values, "tno");
		return (Criteria) this;
		}
     public Criteria andTnoBetween(String value1, String value2) {
		   addCriterion("tno between", value1, value2, "tno");
		return (Criteria) this;
		}
     public Criteria andTnoNotBetween(String value1, String value2) {
		   addCriterion("tno not between", value1, value2, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoLike(String value) {
		  addCriterion("tno like", value, "tno");
		return (Criteria) this;
		}
    public Criteria andTnoNotLike(String value) {
		  addCriterion("tno not like", value, "tno");
		return (Criteria) this;
		}
 public Criteria andPassWordIsNull() {
		 addCriterion("pass_word is null");
		return (Criteria) this;
		}
  public Criteria andPassWordIsNotNull(){
		addCriterion("pass_word is not null");
		return (Criteria) this;
		}
  public Criteria andPassWordEqualTo(String value) {
		  addCriterion("pass_word =", value, "passWord");
		return (Criteria) this;
		}
   public Criteria andPassWordNotEqualTo(String value) {
		  addCriterion("pass_word <>", value, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordGreaterThan(String value) {
		 addCriterion("pass_word >", value, "passWord");
		return (Criteria) this;
		}
  public Criteria andPassWordGreaterThanOrEqualTo(String value) {
		  addCriterion("pass_word >=", value, "PassWord");
		return (Criteria) this;
		}
   public Criteria andPassWordLessThan(String value) {
		  addCriterion("pass_word <", value, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordLessThanOrEqualTo(String value) {
		  addCriterion("pass_word <=", value, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordIn(List<String> values) {
		  addCriterion("pass_word in", values, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordNotIn(List<String> values) {
		  addCriterion("pass_word not in", values, "passWord");
		return (Criteria) this;
		}
     public Criteria andPassWordBetween(String value1, String value2) {
		   addCriterion("pass_word between", value1, value2, "passWord");
		return (Criteria) this;
		}
     public Criteria andPassWordNotBetween(String value1, String value2) {
		   addCriterion("pass_word not between", value1, value2, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordLike(String value) {
		  addCriterion("pass_word like", value, "passWord");
		return (Criteria) this;
		}
    public Criteria andPassWordNotLike(String value) {
		  addCriterion("pass_word not like", value, "passWord");
		return (Criteria) this;
		}
 public Criteria andRealNameIsNull() {
		 addCriterion("real_name is null");
		return (Criteria) this;
		}
  public Criteria andRealNameIsNotNull(){
		addCriterion("real_name is not null");
		return (Criteria) this;
		}
  public Criteria andRealNameEqualTo(String value) {
		  addCriterion("real_name =", value, "realName");
		return (Criteria) this;
		}
   public Criteria andRealNameNotEqualTo(String value) {
		  addCriterion("real_name <>", value, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameGreaterThan(String value) {
		 addCriterion("real_name >", value, "realName");
		return (Criteria) this;
		}
  public Criteria andRealNameGreaterThanOrEqualTo(String value) {
		  addCriterion("real_name >=", value, "RealName");
		return (Criteria) this;
		}
   public Criteria andRealNameLessThan(String value) {
		  addCriterion("real_name <", value, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameLessThanOrEqualTo(String value) {
		  addCriterion("real_name <=", value, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameIn(List<String> values) {
		  addCriterion("real_name in", values, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameNotIn(List<String> values) {
		  addCriterion("real_name not in", values, "realName");
		return (Criteria) this;
		}
     public Criteria andRealNameBetween(String value1, String value2) {
		   addCriterion("real_name between", value1, value2, "realName");
		return (Criteria) this;
		}
     public Criteria andRealNameNotBetween(String value1, String value2) {
		   addCriterion("real_name not between", value1, value2, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameLike(String value) {
		  addCriterion("real_name like", value, "realName");
		return (Criteria) this;
		}
    public Criteria andRealNameNotLike(String value) {
		  addCriterion("real_name not like", value, "realName");
		return (Criteria) this;
		}
 public Criteria andSexIsNull() {
		 addCriterion("sex is null");
		return (Criteria) this;
		}
  public Criteria andSexIsNotNull(){
		addCriterion("sex is not null");
		return (Criteria) this;
		}
  public Criteria andSexEqualTo(Integer value) {
		  addCriterion("sex =", value, "sex");
		return (Criteria) this;
		}
   public Criteria andSexNotEqualTo(Integer value) {
		  addCriterion("sex <>", value, "sex");
		return (Criteria) this;
		}
    public Criteria andSexGreaterThan(Integer value) {
		 addCriterion("sex >", value, "sex");
		return (Criteria) this;
		}
  public Criteria andSexGreaterThanOrEqualTo(Integer value) {
		  addCriterion("sex >=", value, "Sex");
		return (Criteria) this;
		}
   public Criteria andSexLessThan(Integer value) {
		  addCriterion("sex <", value, "sex");
		return (Criteria) this;
		}
    public Criteria andSexLessThanOrEqualTo(Integer value) {
		  addCriterion("sex <=", value, "sex");
		return (Criteria) this;
		}
    public Criteria andSexIn(List<Integer> values) {
		  addCriterion("sex in", values, "sex");
		return (Criteria) this;
		}
    public Criteria andSexNotIn(List<Integer> values) {
		  addCriterion("sex not in", values, "sex");
		return (Criteria) this;
		}
     public Criteria andSexBetween(Integer value1, Integer value2) {
		   addCriterion("sex between", value1, value2, "sex");
		return (Criteria) this;
		}
     public Criteria andSexNotBetween(Integer value1, Integer value2) {
		   addCriterion("sex not between", value1, value2, "sex");
		return (Criteria) this;
		}
    public Criteria andSexLike(Integer value) {
		  addCriterion("sex like", value, "sex");
		return (Criteria) this;
		}
    public Criteria andSexNotLike(Integer value) {
		  addCriterion("sex not like", value, "sex");
		return (Criteria) this;
		}
 public Criteria andCelPhoneIsNull() {
		 addCriterion("cel_phone is null");
		return (Criteria) this;
		}
  public Criteria andCelPhoneIsNotNull(){
		addCriterion("cel_phone is not null");
		return (Criteria) this;
		}
  public Criteria andCelPhoneEqualTo(String value) {
		  addCriterion("cel_phone =", value, "celPhone");
		return (Criteria) this;
		}
   public Criteria andCelPhoneNotEqualTo(String value) {
		  addCriterion("cel_phone <>", value, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneGreaterThan(String value) {
		 addCriterion("cel_phone >", value, "celPhone");
		return (Criteria) this;
		}
  public Criteria andCelPhoneGreaterThanOrEqualTo(String value) {
		  addCriterion("cel_phone >=", value, "CelPhone");
		return (Criteria) this;
		}
   public Criteria andCelPhoneLessThan(String value) {
		  addCriterion("cel_phone <", value, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneLessThanOrEqualTo(String value) {
		  addCriterion("cel_phone <=", value, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneIn(List<String> values) {
		  addCriterion("cel_phone in", values, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneNotIn(List<String> values) {
		  addCriterion("cel_phone not in", values, "celPhone");
		return (Criteria) this;
		}
     public Criteria andCelPhoneBetween(String value1, String value2) {
		   addCriterion("cel_phone between", value1, value2, "celPhone");
		return (Criteria) this;
		}
     public Criteria andCelPhoneNotBetween(String value1, String value2) {
		   addCriterion("cel_phone not between", value1, value2, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneLike(String value) {
		  addCriterion("cel_phone like", value, "celPhone");
		return (Criteria) this;
		}
    public Criteria andCelPhoneNotLike(String value) {
		  addCriterion("cel_phone not like", value, "celPhone");
		return (Criteria) this;
		}

    }
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }
    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;
        public String getCondition() {
            return condition;
        }
        public Object getValue() {
            return value;
        }
        public Object getSecondValue() {
            return secondValue;
        }
        public boolean isNoValue() {
            return noValue;
        }
        public boolean isSingleValue() {
            return singleValue;
        }
        public boolean isBetweenValue() {
            return betweenValue;
        }
        public boolean isListValue() {
            return listValue;
        }
        public String getTypeHandler() {
            return typeHandler;
        }
        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }
        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }
        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }
        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
